package com.oa.pm.vo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 组织架构详情VO
 */
@Data
public class OrganizationDetailsVO {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "组织架构名称")
    private String organizationName;

    @ApiModelProperty(value = "上级组织架构id(即部门id)")
    private String pId;

    @ApiModelProperty(value = "上级组织架构名称")
    private String fatherOrganizationName;

    @ApiModelProperty(value = "组织负责人-ID")
    private String organizationLeader;

    @ApiModelProperty(value = "组织负责人-名称")
    private String organizationLeaderName;

    @ApiModelProperty(value = "备注")
    private String remake;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建者-ID")
    private String createId;

    @ApiModelProperty(value = "创建者-名称")
    private String createName;

    @ApiModelProperty("类型 1-公司 2-高管 3-部门")
    private String type;

}
